package cn.fss.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.fss.common.annotation.Excel;
import cn.fss.common.core.domain.BaseEntity;

/**
 * 文件信息对象 fss_file
 * 
 * @author fss
 * @date 2025-02-26
 */
public class FssFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 类型，0文件，1富文本 */
    @Excel(name = "类型，0文件，1富文本")
    private String type;
    
    private String fileFormat;//文件格式
    
    /** 所属目录，0政策法规，1行业咨询 */
    @Excel(name = "所属目录，0政策法规，1行业咨询")
    private String catelog;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String url;

    private String webUrl;//文件web访问路径
    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 是否删除，0正常，1删除 */
    private String delFlag;
    

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setCatelog(String catelog) 
    {
        this.catelog = catelog;
    }

    public String getCatelog() 
    {
        return catelog;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getWebUrl() {
		return webUrl;
	}

	public void setWebUrl(String webUrl) {
		this.webUrl = webUrl;
	}

	public String getFileFormat() {
		return fileFormat;
	}

	public void setFileFormat(String fileFormat) {
		this.fileFormat = fileFormat;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("catelog", getCatelog())
            .append("title", getTitle())
            .append("url", getUrl())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
